-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yandex Music Updates #197
Yandex Music Updates #197
Conversation
Krispeckt
commented
May 15, 2024
•
edited by topi314
Loading
edited by topi314
- The recommendation logic for the track is implemented
- Added query argument to get full tracks without pain and checks
- Fixed parseCoverUri
- Wrote load limits for playlists, artists, albums
… several avatars, then there will be no uri). - Also wrote load limits (to not load playlists with more than 2000 tracks if someone doesn't need it). - Now you can get similar tracks using ymrec:identifier query (only for one track). - Also added support for music.yandex.by and music.yandex.kz domains. - Having analyzed it, I can see that deviant tracks don't have key "available" (which all normal tracks have), so I moved the logic to parseTracks to make it safe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am gonna assume you tested this
can you rebase these change onto master and add default config values like I did in my last commit?
also when you pass in a yandex .kz/.by should those links returned have that domain ending?
you should also add ymrec:
to the readme
Yes, it's all been tested. Personally I had no problems, I'm not sure about deviant tracks, but if you refer to the json response from AgutinVBoy, such tracks really do not have the "available" key. About domains, they do exist #164. I will make a commit in the near future. |
Yeah I saw you added those other domains to the regex which is fine But all returned track links default to the standard domain atm, and I was asking if you want/should keep those domains when loading a track/playlist |
…c. Now the ending of the domain name depends on the link given to it, "com" is used in searches
I didn't understand the question from the beginning, sorry. Is that what you meant? |
main/src/main/java/com/github/topi314/lavasrc/yandexmusic/YandexMusicSourceManager.java
Outdated
Show resolved
Hide resolved
:< |
that was a terrible pr name lol |
okay(( |
anyway thanks for all the stuff |
Lul, it's in my best interest too, since I use the plugin too |
not even allowed to thank people anymore :( |